﻿/// ---------------------------------------------
///
/// ---------------------------------------------

///---------------------------

//双击事件
function CustomDbClick() {
    parent.closeWin(); //去掉双击功能    
}

//查看明细
var fnLinkDetail = function (elCell, oRecord, oColumn, sData) {
    //debugger;
    elCell.innerHTML = "<a href=\"#\" onclick=\"javascript:fnOpenDetail('" + oRecord.getData("YearMonth") + "');\">" + sData + "</a>"; ;
};

var fnOpenDetail = function (YearMonth) {
    parent.addTabs(YearMonth + " 明细", encodeURI("../Extend/YUIDataTableList.aspx?entity=V_xzEmpGJJ&functionID=C0347A6D-57B0-4D1A-BE0B-F4DFC35E41CC&condition=YearMonth='" + YearMonth + "'"));
}

//初始化
if (typeof ($) != "undefined") {
    //debugger;
    $(document).ready(function () {

    });
}

